package cn.itsource.ymcc.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author zongchangjiang
 * @since 2023-07-26
 */
@TableName("t_course_user_learn")
@Data
public class CourseUserLearn extends Model<CourseUserLearn> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long loginId;

    private Date startTime;

    private Date endTime;

    /**
     * 0已购买，1已过期
     */
    private Integer state;

    private Long courseId;

    private String courseOrderNo;

    private Date createTime;



}
